package com.neusoft.neuiotms.dcam.fixed.service;

import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.MachinePartsBindDTO;

public interface MachinePartsBindService {

	MachinePartsBindDTO create(MachinePartsBindDTO dto);
	
	void saveBind(Searchable bindable);
	
	void deleteBind(Searchable bindable);

	MachinePartsBindDTO update(Long id, MachinePartsBindDTO dto);

    List<MachinePartsBindDTO> findAll();

    MachinePartsBindDTO details(Long id);

    Page<MachinePartsBindDTO> search(Pageable pageable, Searchable searchable);

}
